
<%@include file="header.jsp" %>



<table width="960" height="auto" border="0" cellspacing="0" cellpadding="0" style="width:960px; height:auto;">
    <tbody>
        <tr>
            <td align="left" valign="top" width="auto" rowspan="2">
                <div style="width:170px; height:auto; margin-top:10px; margin-right:10px; margin-left:15px;" class="div_bdr">
                    <table width="169" height="auto" border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr>
                                <td align="left" valign="top" height="24" class="pnl_hdg">
                                    <img src="./images/search.png" style="margin-top:4px; margin-left:4px; margin-right:5px">Top Channels
                                </td>
                            </tr>
                            <tr>
                                <td align="left" valign="top">
                                    <ul id="cate_pnl_lnk">
                                        <li><img src="./images/homeimage.jpg" width="25" height="15" style="margin-right:2px; "><a href="index.jsp">Home</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/studentimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="student.jsp">Student Zone</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/collegezoneimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="college.jsp">College Zone</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/companyimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="employer.jsp">Employer Zone</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/adminimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="admin.jsp">Administrator</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/jobsimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="view_posted_jobs.jsp">Jobs</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/resultimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="resultall.jsp">Results</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/aboutusimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="aboutus.jsp">About us</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/contactusimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="contactus.jsp">Contact us</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/recruitersimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="#">Our Recruiters</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/feedbackimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="feedback.jsp">Feedback</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                        <li><img src="./images/faqimage.jpg" width="15" height="15" style="margin-right:2px; "><a href="#">FAQ</a></li>
                                        <li class="line"><img src="./images/pnl_spr.png"></li>
                                    </ul>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" class="link" style=" padding-right:10px; padding-bottom:10px;">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>


            <td align="left" valign="top" width="auto" height="auto">

                <div style="width:470px; height:auto; margin:10px 10px 0px 0px;" class="div_bdr">
                    <table width="470" height="auto" border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr class="pnl_hdg">
                                <td align="center" valign="middle" width="23" height="24">
                                    <img src="./images/aboutusimage.jpg" width="15" height="15"/>

                                </td>
                                <td width="291" align="left" valign="middle">About us</td>

                                <td width="89" align="center" valign="middle">

                                </td>

                                <td align="center" valign="middle" width="67">
                                </td>

                            </tr>
                            <tr>
                                <td align="left" valign="middle" height="auto" colspan="4" style="padding-left:3px;">
                                    <p> This placement portal automates the placement process at the college. Employers can use this portal to communicate with the College Placement Office and through necessary permissions manage campus recruitment and hire students and alumni online.  Employer can register here. Students and alumni can now access the placement office, college related news, search jobs and access information to help enhance career and advance their skills.</p>



                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div style="width:470px; height:auto; margin:10px 10px 0px 0px;" class="div_bdr">
                    <%


                                try {
                                    Connection con1 = Dbconn.getConn();

                                    Statement st1 = con1.createStatement();
                                    String sql = "select compid,compname from company where logo is not null";
                                    ResultSet rs = st1.executeQuery(sql);

                    %>
                    <table width="470" height="auto" border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr class="pnl_hdg">
                                <td align="center" valign="middle" width="23" height="24">
                                    <img src="./images/city.png" width="15" height="15"/>

                                </td>
                                <td width="291" align="left" valign="middle">
                                    Featured Employers
                                </td>

                                <td width="89" align="center" valign="middle">

                                </td>

                                <td align="center" valign="middle" width="67">
                                </td>

                            </tr>
                            <tr>
                                <td align="center" valign="middle" height="auto" colspan="4" style="padding-left:3px;">


                                    <%for (int i = 0; rs.next() && i < 16; i++) {%>
                                    <div align="center" class="div_bdr pdt_dsply" style="padding:1px;">
                                        <a href="viewcomp.jsp?compid=<%=rs.getString("compid")%>" target="_blank">

                                            <img src="src/getpic.jsp?id=<%=rs.getString("compid")%>&table=company&col=logo&pk_col=compid" alt="<%=rs.getString("compname")%>" title="<%=rs.getString("compname")%>" border="0" width="100" height="35" />
                                        </a>
                                    </div>

                                    <%}%>


                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>



                <br /><br/>
                <div style="width:470px; height:auto; margin:10px 10px 0px 0px;" class="div_bdr">
                    <table width="470" height="100" border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr class="pnl_hdg">
                                <td align="center" valign="middle" width="23" height="24">
                                    <img src="./images/city.png" width="15" height="15"/>

                                </td>
                                <td width="291" align="left" valign="middle">Registered Colleges </td>

                                <td width="89" align="center" valign="middle">

                                </td>

                                <td align="center" valign="middle" width="67">
                                </td>

                            </tr>
                            <tr>
                                <td align="center" valign="middle" height="auto" colspan="4" style="padding-left:3px;">

                        <marquee behavior="scroll" scrollamount="3"  loop="-1" onmouseover="this.setAttribute(&#39;scrollamount&#39;, 0, 0); " onmouseout="this.setAttribute(&#39;scrollamount&#39;, 3, 0);" style="height:50px; margin-left:10px; width:450px; ">
                            <%
                                                                sql = "select clgid,clgname from  college where logo is not null";
                                                                rs = st1.executeQuery(sql);
                                                                while (rs.next()) {
                            %>
                            <div align="center" class="div_bdr pdt_dsply" style="padding:1px;">
                                <a href="viewcollegedetails.jsp?clgid=<%=rs.getString("clgid")%>" target="_blank">

                                    <img src="src/getpic.jsp?id=<%=rs.getString("clgid")%>&table=college&col=logo&pk_col=clgid" alt="<%=rs.getString("clgname")%>" title="<%=rs.getString("clgname")%>" border="0" width="100" height="35" />
                                </a>
                            </div>
                            <%                 }
                                        } catch (Exception e) {
                                            out.println(e);
                                        }
                            %>
                        </marquee>

                        </td>
                        </tr>
                        </tbody>
                    </table>

                </div>
            </td>

            <td align="left" valign="top" width="auto">
                <div style="clear:both; height:8px;">

                </div>
    <style type="text/css">
        #marqueecontainer{
            position: relative;
            float:left;
            width: 150px; /*marquee width */
            height: 150px; /*marquee height */
            background-color: white;
            overflow: hidden;
            border: 0px solid orange;
            padding: 0px;
            padding-left: 0px;
        }
    </style>

    <script type="text/javascript">
        var delayb4scroll=2000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
        var marqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
        var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

        ////NO NEED TO EDIT BELOW THIS LINE////////////

        var copyspeed=marqueespeed
        var pausespeed=(pauseit==0)? copyspeed: 0
        var actualheight=''

        function scrollmarquee(){
            if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
                cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
            else
                cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
        }

        function initializemarquee(){
            cross_marquee=document.getElementById("vmarquee")
            cross_marquee.style.top=0
            marqueeheight=document.getElementById("marqueecontainer").offsetHeight
            actualheight=cross_marquee.offsetHeight
            if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
                cross_marquee.style.height=marqueeheight+"px"
                cross_marquee.style.overflow="scroll"
                return
            }
            setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
        }

        if (window.addEventListener)
            window.addEventListener("load", initializemarquee, false)
        else if (window.attachEvent)
            window.attachEvent("onload", initializemarquee)
        else if (document.getElementById)
            window.onload=initializemarquee
    </script>



    <div style="width:300px; height:206px; margin:5px 10px 0px 0px; " class="div_bdr">
        <%@include file="latestjob.jsp"%>
    </div>
    <div style="clear:both; height:8px;">

    </div>
    <div style="width:300px; height:206px; margin:5px 10px 0px 0px; " class="div_bdr">
        <%@include file="news.jsp"%>
    </div>
</td>
</tr>

<tr>
    <td align="left" valign="top" height="auto" width="auto" colspan="2">


        <div style="width:786px; height:auto; margin:10px 10px 0px 0px;" class="div_bdr">
            <table width="786" height="51" border="0" cellpadding="0" cellspacing="0">
                <tbody>
                    <tr class="pnl_hdg">
                        <td align="center" valign="middle" width="26" height="24">
                            <img src="./images/rec_ads.gif" width="15" height="15">
                        </td>
                        <td align="left" valign="middle" height="24" width="760">
                            Recent Jobs
                        </td>
                    </tr>

                    <%


                                try {
                                    Connection con3 = Dbconn.getConn();

                                    Statement st3 = con3.createStatement();
                                    String sql3 = "select jobid,jobtitle,validuntil,jobdesc,jobrole,joblocation,keyskill,company.compid,compname from jobs,company where jobs.compid=company.compid and jobs.status='Active' and logo is not null";
                                    ResultSet rs3 = st3.executeQuery(sql3);
                                    rs3.next();

                    %>

                    <tr>
                        <td align="left" valign="top" colspan="2">

                            <table width="785" border="0" cellspacing="0" cellpadding="0">



                                <tbody>
                                <form id="form1" action="student.jsp">
                                    <tr>

                                    <input type="hidden" name="msg" id="cmcheck" value="<font color=red>You Must login to apply this job</font>"/>
                                    <td align="center" valign="middle" width="112" rowspan="2">
                                        <img src="src/getpic.jsp?id=<%=rs3.getString("company.compid")%>&table=company&col=logo&pk_col=compid" alt="<%=rs3.getString("compname")%>" title="<%=rs3.getString("compname")%>" border="0" width="100" height="35" />
                                    </td>
                                    <td width="429" height="20" align="left" valign="top">
                                        <strong>
                                        </strong>
                                    </td>
                                    <td align="center" valign="middle" width="9" rowspan="2">
                                        <div class="ads_spr_ver">

                                        </div>
                                    </td>
                                    <td width="101" rowspan="2">
                                        <div align="center" style="padding-bottom:10px;">
                                            <strong>Last Date: </strong>
                                            <%=rs3.getString("validuntil")%>

                                        </div>
                                        <div align="center">

                                        </div>
                                        <div align="center">
                                            <%=rs3.getString("joblocation")%>
                                        </div>
                                        <div align="center">

                                        </div>
                                    </td>
                                    <td align="center" valign="middle" width="6" rowspan="2">
                                        <div class="ads_spr_ver">

                                        </div>
                                    </td>
                                    <td width="128" rowspan="2" align="center">
                                        <button id="apply_detail" name="apply_detail" style="width:60px; height:22px; padding-bottom:7px;">Apply</button>
                                    </td>
                                    </tr>

                                    <tr>
                                        <td align="left" valign="top">
                                            <div align="justify">
                                                <a class="link" href="jobsd-66-sr_marketing_manager.html" target="_blank">
                                                    <strong>
                                                        <%=rs3.getString("jobtitle")%>
                                                    </strong>
                                                </a>
                                                <br />
                                                <%=rs3.getString("jobdesc")%>
                                            </div>


                                            <div align="right" style="padding-right:10px; padding-bottom:10px;"><a class="link" href="viewjobdetails.jsp?jobid=<%=rs3.getString("jobid")%>" target="_blank">More Details...</a></div>						</td>
                                    </tr>
                                    <% } catch (Exception e) {
                                                    out.println(e);
                                                }%>
                                </form>
                                <tr>
                                    <td align="center" valign="middle" colspan="6">
                                        <div class="ads_spr_hor"></div>
                                    </td>
                                </tr>
                </tbody>
            </table>
    </td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>


</tbody>
</table>
<%@include file="footer.jsp" %>